package com.dp.demo.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;

/**
 * @Author: dupeng
 * @CreateTime: 2024-12-05  18:48
 * @Description: TODO
 */
public class DefaultFeignConfig {
    @Bean
    public Logger.Level feignLogLevel(){
        return Logger.Level.FULL;
    }

    @Bean
    public GoodsClientFallbackFactory goodsClientFallbackFactory(){
        return new GoodsClientFallbackFactory();
    }

}
